package hips.gui.parameters;

import hips.pixel.PixelValue;
import java.util.EventObject;

public class ParameterEvent extends EventObject {

    private PixelValue alpha;
    private PixelValue omega;
    private float cindex;

    public ParameterEvent(Object source, PixelValue alpha, PixelValue omega, float cindex) {
        super(source);
        this.alpha = alpha;
        this.omega = omega;
        this.cindex = cindex;
    }

    public PixelValue getAlpha() {
        return alpha;
    }

    public PixelValue getOmega() {
        return omega;
    }

    public float getCindex() {
        return cindex;
    }
}
